package com.pcitc.transfer.controller;

import com.pcitc.transfer.ISimpleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author liangw
 * @Date 2022/5/8 10:46
 * @Version 1.0
 **/
@RestController
public class TestController {

    @Autowired
    ISimpleService simpleService;

    @GetMapping(value = "/rpcHttp")
    public String  rpcHttp(){
        return simpleService.queryStrDesc();
    }
}
